<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://amc.af.mil/portal-el" prefix="portal" %>
<%@ taglib uri="http://amc.af.mil/radtaglibrary" prefix="rad" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html-el" %>
<html>
<head>
    <title>Add Item Model</title>
</head>

<body>

<rad:useBean id="equipmentTypeViewHelper"/>
<rad:useBean id="manufacturerViewHelper"/>


<div id="portal-left-bar">
    <jsp:include page="../navigation/navigationMenu.jsp"/>
</div>

<div id="portal-content">
    <portal:box style="width:800px" title="Add Item Model">
        <div id="standard">
            <html:form method="post" action="itemModelAction.do?method=createItemModel">
                <p><label for="manufacturerId">Manufacturer</label>
                    <html:select property="manufacturerId">
                        <html:optionsCollection name="manufacturerViewHelper"
                                                property="all"
                                                value="id"
                                                label="name"/>
                    </html:select></p>

                <p><label for="equipmentTypeId">EquipmentType</label>
                    <html:select property="equipmentTypeId">
                        <html:optionsCollection name="equipmentTypeViewHelper"
                                                property="all"
                                                value="id"
                                                label="name"/>
                    </html:select>
                </p>

                <p><label for="modelName">Name:</label><html:text property="modelName"/></p>

                <p><label for="modelName">Processor Speed:</label><html:text property="processorSpeed"/></p>

                <p><label for="modelName">Screen Size:</label><html:text property="screenSize"/></p>

                <p><html:submit value="Create Model"/></p>
            </html:form>
        </div>
    </portal:box>
</div>

</body>
</html>